// "所有待办"
const TODO_CATEGORY_ALL = 'All'
// "已完成"
const TODO_CATEGORY_FINISHED = 'Finished'

// 请求返回统一结构
const RESPONSE_BODY = (isSuccess, data, message) => {
  return {
    isSuccess,
    data,
    message,
  }
}

module.exports = {
  TODO_CATEGORY_ALL,
  TODO_CATEGORY_FINISHED,
  RESPONSE_BODY,
}
